package com.hengpeng.itfin.persist;

import java.util.List;

import com.hengpeng.common.persist.entity.AbstractEntity;
import com.hengpeng.common.persist.query.DynamicQuery;

public interface CommonJdbcdao
{
	<T extends AbstractEntity> List<T> findEntityByDynamicQuery(DynamicQuery dynamicQuery, Class<T> type);

	<T extends AbstractEntity> T getByDynamicQuery(DynamicQuery dynamicQuery, Class<T> type);
}
